/**
 * 
 */
package com.dman.multi.core;

import java.io.IOException;

/**
 * @author srinivas
 *
 */
public interface Downloadable extends Runnable{
	public void schedule();
	public void delete() throws UnsupportedOperationException, IOException;
	public void pause(boolean save) throws UnsupportedOperationException, IOException;
	public void pause(boolean save, long stopTime) throws UnsupportedOperationException, IOException;
	public void resume() throws UnsupportedOperationException, IOException;
	public void restart() throws UnsupportedOperationException, IOException;
	public boolean isResumeSupported();
	public void saveState() throws IOException;
}
